got log in authentication to work