added flash errors and email uniqueness