login and logout now work... redirection works