Implemented favorite post functionality.