public Boolean checkAvailability(String username) {
	Boolean status=false;
	DbConnection dbconObj=new DbConnection();
	Connection con=null;
	Statement stmt=null;
	ResultSet rs=null;
	try
	{
		
		con=dbconObj.getDbConnection();
		stmt=con.createStatement();
		rs=stmt.executeQuery("select * from g4_customer where username='"+username+"'");
		if(rs.next())
		{
			status=true;
		}
	}
	catch(SQLException sqex)
	{
		System.out.println(sqex);
	}
	/*finally{
		stmt.close();
		con.close();
		System.out.println("Connection closed successfully");
	}*/
    return status;

}