Added delete user option
Fixed logging in bug
Return body for user functions