Moved login form into a partial to minify duplication