Fixed that horrible user authentication bug