added session expiry and some css work