Fixed some errors here + Made integrating with services neater + Added error message for failed login.