Of course Obama is taking religion into account. Islam is persecuting Christians, therefore, Obama wants as many Muslims in America as he can get!
And, Christians are actually being barred from admission.