changed authentication to login