How to prevent 2 people from using the same login

I created this blocks…
When I went to test it did not work, I was able to log in to 2 different phones using the same email.

Did i do something wrong?