Flash errors appear if user attempts to register with an email or username that has already been taken