student folder bug fixes

Fixes bug with migration.
Fixes bug with having no-folders in the sidebar breaks everything.
Also makes username not show up in top right corner,.