Adding a function to check whether the user is admin or not.
Displaying add new project to admins only.
Functionality to create a new project implemented
When no tasks for the project are present we show only the project name in the html title.