fixed flash message twice issues in signup form