Fixed Javascript for login form and added contact form partial