add problem, ranklist, userinfo view and fix some bugs