added functional cookies, updated header for signin