add logout url and remember me functionality