moved util methods into own file
fixed issue with missing Path in cookie
started a main page