Merge pull request #4 from sushantkr16/master

changed the db variable
Issues fixed in contest page and login/register
Modified rules and added some more text in the home page
Error handling code added
Login page modifications
error handling code when DB is down
validation on login page
changes to disable matches after match start time
adding moment as a dependency
Final fixes before launch
merging code from cloud repository to original repository
merging code from cloud
merging code from cloud
Initial coding for One time contest