updated grading functions

also buttons, authentication and graph visualization