modified auth model and db schema