New auth login and logout set up