Refactored change state of issue in two separate methods in the controller
registerUser method from Controller no longer needs to insert a User entity in the model
Authentication handlers no longer send redirects because of RESTful login
Refactored the change state of issue functionality provided by the IssueService
Introduced error message if insertion of comment fails
Added login error message and included the script that handles the AJAX request
Small change to the design of the register page: deleted the background
The script that handles the AJAX request for changing the state of an issue now has two separate functions to handle closing / reopening
Implemented the script that handles the AJAX request for login