Null checks for loginservlet

title says all.