added userSession object and parseToken