Preliminary work on the user panel.
User panel done (closes #34). Also fixed some CSRF issues.