added total_average method to klass obj
sort of fixed the login issue