What is the problem

what is the problem with these blocks (I want to make a login page that searches for the information that the user entered and if it is right it takes him to the next page)

If
then
else > another if, then, else> another if etc.

use properly step by step,