Created interface for new Posts, added additional javascript functions that will be used for loading data from the server