add some play glue for login and logout