#implements some parts of the login notification system
flashes fixed