newbie here, so I try to create a login/register page and the problem is I not sure how to write a code for checking if the user is already registered in the login page. So