found solution to persist course ids
established a temporary solution to login weirdness
fixed login weirdness and edited secured routes
Merge branch 'fixing-login-weirdness'

Finally fixed login weirdness and updated secured routes