Lots of changes. Authentication now working. Implemented logging system at /log