added tests for logged in and out for posts

Post Functionality including logged in and not logged in actions.
change to I18n.t("permission_error.error_string")