Login Handler Added

Add the code to check the login takes in a user, returns a bool