fixed session and callback in params array bug
remove debug logs
remove debug logs
fixed bug with parameters within registerMethod
Findone returns null instead of error when no obj is found
findById and findOne to return { data: null } when no obj is found
various changes