Login Controller and view

Hey @rcrichton. When you have a chance please review my code for the login facility. Thanks
Rather just delete this code than comment it out. To keep things neat.