updated login and register forms