Added templates and statics settings.
Don't do collect static now.
Removed usage of provider.
Added registration as installed app.
Added log in and log out apis.
Added register function.