Defined some methods in the backend