Added more login functionality
Completed login functionality