Added setLogin function to SessionAuthContext