added methods in comments controller