adding checking for exisitng user