set login redirection and logout action
Merge branch 'user_dashboard_login_fix' into userdashboard