updated the db schema, and some auth UI