Updated layout and templates. Re-enabled matrix-parts.
Task no 151
Update for authentication and authorization