Fixed the session bug where only the 0 id user could login