Fix for Issue #23 : correction needed in condition check for AdminLogin

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Fix for Issue #25 :  Corection Needed in all Login Classes

replaced while(rs.next()) and  while(ps.executeQuery().next()) by if(rs.next())
and  if(ps.executeQuery().next())

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>