Edited PostEndpoint.java to make queries by group and author.