Fixing notices on login and reg pages