added barebones registration and login and logout
added login_redirect to settings example