fixing login bug fix bug so users can have multiple sessions