login not working - type missmatch