Add function to check if given user exists or not