changed login to be in a form