improved login; user is returned to requested page upon login