Updated controller to get all users