Fix authorize user controller