Added documentation in ui.R