@Path("/database")
	@GET
	@Produces(MediaType.TEXT_HTML)
	public String returnDatabaseStatus() throws Exception {
		PreparedStatement query = null;
		String myString = null;
		String returnString = null;
		Connection conn = null;
		StringBuffer sb = new StringBuffer();

		try {

			conn = DB_Conn.getConnection();
			// conn = DatabaseConn.dataSourceConn().getConnection();

			query = conn.prepareStatement("select username from user");
			ResultSet rs = query.executeQuery();
			
			sb.append("<h3>Database read usernames from table:</h3> ");

			while (rs.next()) {
				myString = rs.getString("username");
				returnString = "<p>" + myString + "</p>";
				
				sb.append(returnString);
			}
			query.close();			

		} catch (Exception e) {
			e.printStackTrace();
		} finally {
			System.out.println("Closing the connection.");
			if (conn != null)
				try {
					conn.close();
				} catch (SQLException ignore) {
				}
		}
		return sb.toString();
	}