Changes to implement basic login form