You can make 'login' a url. Just add login as an a-record in your DNS-server. ex: value: login ip:10.50.5.1 The hotpspot will redirect url-request to login page automaticly. You could do the same with logout, but you would have to make this a-record point to a different IP on another webserver with ...