Hooked up frontend and backend to work with sockets!!