@Override
	public List<AuthorModel> getAuthorsByName(String name)
			throws WebshopAppException {
		if (name != null) {

			try (Connection conn = getConnection()) {

				String sql = "SELECT * FROM author WHERE lastname = ? or firstname = ?";

				try (PreparedStatement pstmt = conn.prepareStatement(sql)) {
					setString(pstmt, 1, name);
					setString(pstmt, 2, name);

					try (ResultSet rs = pstmt.executeQuery()) {
						List<AuthorModel> authorList = new ArrayList<AuthorModel>();
						while (rs.next()) {
							authorList.add(parseAuthor(rs));
						}
						LOGGER.trace(String.format(
								"%s.GET_AUTHOR_BY_NAME - %s %s", this
										.getClass().getSimpleName(),
								"Authors get from database: ", authorList));
						return authorList;
					}

				}

			} catch (SQLException e) {
				WebshopAppException excep = new WebshopAppException(
						e.getMessage(), this.getClass().getSimpleName(),
						"GET_AUTHORS_BY_NAME");
				LOGGER.error(excep);
				throw excep;
			}
		} else {
			LOGGER.error("Get Author: Input = null");
		}

		return null;
	}