changes email to username and adds some form functionality to the home page