protected void Page_PreLoad(object sender, EventArgs e)
        {
            try
            {
                string username = Request.Params["username"];
                string password = Request.Params["password"];
                string log      = Request.Params["log"];

                User usr = UserDAO.Login(username, password);

                if (usr == null)
                {
                    Response.Write("INVALID USER");
                    Response.End();
                }

                Report report = new Report();
                report.Log     = log;
                report.User_fk = usr.Id;

                ReportDAO.AddReport(report);
                Response.Write("success");
            }
            catch (Exception ex)
            {
                Response.Write("THERE WAS A CRASH LOGGING");
                Debug.WriteLine(ex.StackTrace);
                Debug.WriteLine(ex.Message);
            }
        }