for user login disable function