@Override
	public Event next() {
		String input = null;
		try {
			input = br.readLine();
		} catch (IOException e) {
			
			e.printStackTrace();
		}
		//alters state
//		if(input == null || input.equals("")){
//			return new DefaultState(as);
//		}
		if(input.equals("1")){
			System.out.println("What would you like to search for");
			try {
				input = br.readLine();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			return new SearchResultsState(as, name, input);
		}
		if(input.equals("2")){
			return new AuctionCreateState(name, as);
		}
		if(input.equals("3")){
			return new SearchResultsState(as, name, input);
		}

		else{
			return new UserHomeState(as, name);
		}
	}