Add userToken support and logout feature