list functions changed in availabilities and users. And getting user ids function is added in user.rb