AT: changed event fire calls into method calls. Clicking on "Go to Dashboard" now takes user to teacher homepage (before: main homepage). Cleaned up code.