added homepage (after auth) fixed few CAS things