more registration/account functionality (resending verification emails)
some ugly code that needs refactoring