Create login functionality
Remove duplicate