moved subscriptions controllers to separate file, moved render function to