added login form to homepage