public List<User> users() {
		try {

			Connection connection = DataSourceUtils.getConnection(dataSource);

			PreparedStatement statement = connection
					.prepareStatement("SELECT * FROM usuario");

			List<User> list = new ArrayList<User>();

			ResultSet resultSet = statement.executeQuery();

			while (resultSet.next()) {
				
				list.add(new User(resultSet.getInt(1), // id
						resultSet.getString(4), // name
						resultSet.getString(5), //lastname
						resultSet.getString(2), // mail
						resultSet.getString(3), // password
						resultSet.getBoolean(6)//admin
				));

			}
			return list;
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}