The authorize function is not finding my user,

So I am locking the user to see if it exists.