public boolean addCustomer(CustomerForm customer) {
			boolean b=true;
			int result;
			int result_temp;
			ConnectionUtility chd = new ConnectionUtility();
			Connection con = null;
			PreparedStatement ps = null;
			PreparedStatement ps1 = null;
           try {				
				con =chd.create();
				String firstName = customer.getFirstName();
				String lastName = customer.getLastName();
				String userName = customer.getUserName();
				String password = customer.getPassword();
				String street = customer.getStreet();
				String city = customer.getCity();
				int pinCode = customer.getPinCode();
				Long mobileNum = customer.getMobileNum();
				ps1 = con.prepareStatement("insert into LoginDetails values('"+userName+"','"+password+"','user')");				
                result_temp = ps1.executeUpdate();
				ps = con.prepareStatement("insert into customer values('"+firstName+"','"+lastName+"','"+userName+"','"+street+"','"+city+"',"+pinCode+","+mobileNum+") ");
				result =ps.executeUpdate();
			     if(result>0 && result_temp>0)
		            {
		                b=true;
		            }
		            else 
		            {
		            	b=false;								
		            }
           } catch(Exception e) {
				e.printStackTrace();
			}
			finally {
				 try  {
					con.close();   
				 } catch(Exception e) {
					e.printStackTrace();
				 }
			}
			return b;
		}