don't break login when nothing is entered