Adding last login for when persistent codes are saved.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Add migrations back in. Have 2.0 to 3.0 upgrade working, with a couple of different data sets (it works great).

Signed-off-by: Ben Corlett <bencorlett@me.com>