Added code for member and lending modules