reposts controller