Fixed sql in passwordReset function and a typo in PostService.java