Moved all the session/user-management stuff to where it needs to be (helper).