fixed an error in the last migration.
Added 404 error page, professor query results and professor view.