Login any user bug

Fixed the bug allowing any log in