Login functionality added