added query for user by id