Adds login form to view