Small fix to user login