protected boolean login(String userType) {
		Query loginQuery = new UserLoginQuery(username, password, userType);
		ResultSet rs = DBHandler.executeQuery(loginQuery);
		
		try {
			if (rs.first()) {
				return true;
			}	
		}
		catch (SQLException ex) {
			ex.printStackTrace();
		}
		
		return false;
	}