added approved user control after login and registration