updated login and submit forms