added check in adding user through signup