Added user login method - checks if credentials are valid