changed log in form structure