create login form and actions