replace params with session
added some styling