Fix display issues and segfault on linux

Reminder that vectors handle some memory management for you
Some of the login handling on the site

Not much functionality, but it's a base.

The whole website requires restructuring to some template system anyway.