Added function to get time lecture active
Implemented timeedit into rest fix #12