The Register and Login Controller can work

1.fix some bugs like string comparasion, replace "==" to equals()
2.remove the attribute @PathVariable
3.some erros in ForumFilter, need to fix