added reddit method in controller