I simplified po the condition form if(empty($login)) and $login's value would be tru or false as to what suggested niyo po to just return true or false ...