promises promises
added functions for posts