Auth  and main layout improvements
Reformat code
Set active menu item
Merge pull request #2 from TCFSTeam/authentication

Authentication implemented