issue #38 , added if condtion to check user is unbannned and activated