Fix PR#49

Fixed  [PR#49Avatar disappear in user center page.](https://github.com/UESTC-ACM/CDOJ/issues/49)

I meet a lot of conflict when I try to rebase upstream:master to my branch, and use pull command to solve it.