Add authen on neccessary pages and add public tasks feature