Authenticate user on connection