deprecated mail code is removed and now using new rails mailer api
public members controller refactoring