Updated flood check

This includes modifications to the forgot page in admin module. email
sending on the account page still remains to be completed.