Deleted useless code
User need to lgin to access pages except for index
Added part page. Some pages are viewable for non logged in users