added license notice
added session and cookie handling
added check cookie username against the database