Login functionality added.