final fixed login

also moved change course to index instead of each type of user page