log_on and log_out added. Authentication added. Sessions with cookies added