Add automatic login

Also, start work on a settings page
Update TODO