public String getProfileImage(String username){
        String out = baseURL;
        try  
        {  
            //Encode the URL to ensure that all the characters send are valid
            String data = URLEncoder.encode("username", "UTF-8") + "=" + URLEncoder.encode(username, "UTF-8");
            
            //Construct URL
            URL url=new URL(baseURL+"get_profile_image.php?"+data);
            
            if(debug){
                System.out.println(url);
            }
            //Send DATA
            URLConnection conn = url.openConnection();  
            //conn.connect();
            /*
             * It is required to read the feedback from the URL
             * BufferedReader is used to read the feedback from the URL
             */
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            while(in.ready()){
                /*
                 * The feedback from the URL is stored in the 'out' variable
                 */
                String nextLine = in.readLine();
                /*
                 * If there is no image associated with the user
                 * the server responds with false
                 */
                if(nextLine.equals("false")||nextLine.equals("")){
                    out = "false";
                }else{
                    out+=nextLine;
                }
                if(debug){
                    System.out.println(nextLine);
                }
            }
            in.close();
        }
        catch(Exception e)  
        {  
            e.printStackTrace();
        }
        finally{
            return out;
        }
    }