Added code for login form and UI