added tests for logged in and out for posts

Post Functionality including logged in and not logged in actions.
change to I18n as well