I am trying to use flash notifications to simplify and clean up code, my error and info messages act as they should but when there is an error say email already in use the error