public JSONObject processRegisterTag(String USER_NAME,String EMAIL,String Password)
	{
		try {
			
					Class.forName(JDBC_DRIVER);
					conn=DriverManager.getConnection(DB_URL,USER,PASS);
					
					stmt=conn.createStatement();
					json=new JSONObject();
					
					//Check if USer Alrady exists
					rs1=stmt.executeQuery("Select * from LOGIN_INFO where EMAIL='"+EMAIL+"'");
					if(rs1.isBeforeFirst())
					{
						json.put(SUCCESS, 0);
						json.put(MESSAGE, "Email already exists");
						return json;
					}
					
									
					String sql="insert into LOGIN_INFO(USER_NAME,EMAIL,PASSWORD) values('"+USER_NAME+"','"+EMAIL
									+"','"+Password+"')";
						
					int result=stmt.executeUpdate(sql);				
					if(result>0)
					{
						json.put(SUCCESS, 1);
						json.put(MESSAGE, "Registration was successful");
						
						ResultSet rs2=stmt.executeQuery("Select * from LOGIN_INFO where EMAIL='"+EMAIL+"'");
						rs2.next();
						json.put("USER_ID",rs2.getInt("USER_ID"));
						rs2.close();
						
						//Send the Questions present in Database
						ResultSet rs3=stmt.executeQuery("Select * from QUESTIONS");
						if(rs3.isBeforeFirst())
						{
							JSONArray questions=new JSONArray();
							JSONObject object;
							while(rs3.next())
							{
								object=new JSONObject();
								object.put("QUESTION_ID", rs3.getInt("QUESTION_ID"));
								object.put("QUESTION_ASKED", rs3.getString("QUESTION_ASKED"));
								questions.add(object);
							}
							json.put("QUESTIONS", questions);
						}else
						{
							json.put(MESSAGE, "NoQuestions");
						}
						rs3.close();
						return(json);
					}
					
					rs1.close();
		        	stmt.close();		
					
				
				} catch (ClassNotFoundException e) {
					e.printStackTrace();
				} catch (SQLException e) {
					e.printStackTrace();
				}
				finally
				{
			      try{
			        	
			            if(conn!=null)
			            conn.close();
			         }catch(SQLException se){
			            se.printStackTrace();
			         }
			    }
				
				//json.put(SUCCESS, 0);
				//json.put(MESSAGE, "Sorry, couldn't Process Request");
				return(json);
		}