Route + method to check user id

added a route to check if an id exists