public String hamtaRoll(String personnummer){
				String roll = "";
				try{
					// H�mta data om en persons roll.
					connection = getConnection();
					preparedStatement = connection.prepareStatement("SELECT Roll from rollinnehav WHERE Personnummer = ?");
					preparedStatement.setString(1, personnummer);
					resultSet = preparedStatement.executeQuery();
					while(resultSet.next()){
						roll = resultSet.getString(1);
					}
					// Kolla vilken roll personen har. Beroende p� svaret s� skickar vi tillbaka 
					// data till kontrollern om vilket gr�nssnitt som anv�ndaren borde skickas till.
					if(roll.equals("L�ntagare")){
						return "lantagare.jsp";
					}
					if(roll.equals("Bibliotekarie")){
						return "bibliotekarie.jsp";
					}
					if(roll.equals("Administrat�r")){
						return "administrator.jsp";
					}
					return roll;
				}
				catch(SQLException sqle){
					System.out.println(sqle.getMessage());
					return roll;
				}
			    finally {
				      if (connection != null) 
				        try {connection.close();} catch (SQLException e) {}
				      }

			}