Get user name from the request header.
Consolidate getContestId and getSubmitId.
Cleanup Main.hs.
Add error handling.
little change
Merge pull request #9 from chiro/user

ログインしているユーザ名の取得