Custom membership API for the SP