Added Login Functionality

Added the Login Functionality