add ssl in prod
finish auth model