added analytics page and ajax functions, fixed some form errors, modified some css