Remove duplication of action defintion

Refactor: define method to create similar actions ```topics_by```, ```private_messages```, ```private_messages_sent```, ```private_messages_unread```.

Any feedback on this ?
:)