added user decay function to dynamically assing restaurant adding permissions based on user base