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>
Fix for Issue  #24 : Connection , Prepared Statement , Resultset should
not be part of Class

Removed Connection , Prepared Statement , Resultset from the class and
make them local to methods which are using them

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
fix for Issue #26 : while loop should not be used to check valid database
entry for single entity

replaced while(rs.next()) or while(ps.executeQuery().next()) , by
if(ps.executeQuery().next())

Signed-off-by: Ashish Namdev <ashish28.sirt@gmail.com>
Merge pull request #7 from AshishNamdev/ash/13w42-fixes

Please merge ash/13w42 fixes for 13w42  :

Accepted and Merged , socioware-1342 milestone is closed for bugs and fixes after this commit