modified hex login form to include a form