Enable user login and logout