Added requesturi redirect to login and logout