Login page

-Added cookie handling functions
-Added login handling page
-Added login handling to pages requiring login