write test for error message
Added error messages
Finalise error message testing
Added flash message
Successful sign up