Validate inputs and render of errors
Login and Logout