refactor the UI for create session panel. Troy