Merge pull request #179 from mzry1992/contest-permission

Private contest login system
Merge pull request #180 from mzry1992/contest-permission

Fix strange 404 error in server