add controller home,remove photos action from posts