Implimented some more user API functionality such as delete and fixed some bugs