add settings form with session in header