removed socket from frontend