added flash notices and redirects for approve and reject