How to enable/disable login methods for users