added signup input validation, new posts class, adding and viewing posts