public casts and methods to change tab with ajax dependent on login/enro...

...llment