Added cookie support for redirection after login.
Added header file for all pages. (checks authentication)