Basically completed achievement analysis function.
Fix a bug that students can't inquery their achievements.