Create method chek login