added backend and frontend functionality for surveillance, made a decent looking view