Changed some logic in user authentication