Added session cookie and ui improvements