set up login form with helpers and wrote footer