Add getWhereLogin function into security_default