changing required fields color to red

adding time field to specify for how long the session will be opened
refactoring scripts