Soft delete details moved to controller

Made new functions
getUsersNotDeleted
getTeamsNotDeleted, etc