changing views in users, added SSL support for production environment