check type of user
edit location