added seprate auth model and design fix