Permissions added to model
Added main component widget
added public and app web components
Added login dialog and login scripts
Added registration form UI