Now logged in user will be auto-redirected to admin/index.php from login or register page.
Update homework and ranking module