public boolean lookupUsername(String username)
	{
		Connection connection = null;
		
		String query = null;
		PreparedStatement statement = null;
		
		try
		{
			connection = dataSource.getConnection();
			
			query = "SELECT * FROM users WHERE username = ?;";
			statement = (PreparedStatement)connection.prepareStatement(query);
			statement.setString(1, username);
			
			ResultSet resultSet = statement.executeQuery();
			
			if (resultSet.next())
			{
				return true;
			}
		}
		catch (SQLException sqle)
		{
			sqle.printStackTrace();
		}
		finally
		{
			try
			{
				statement.close();
				connection.close();
			}
			catch (SQLException sqle)
			{
				sqle.printStackTrace();
			}
		}
		
		return false;
	}