server side javascript and added collections for users and likes and posts