Replaced "userName" with "username" and fixed bug with redirect.
Removed ..._LAST_EXCEPTION because of errors on repeated login.
Better names for login form and its fields.
Added properties for mail. Fixed names of properties for LDAP.
Minor fix due to previous rename.
Simplified interface of BookService (parameter book was replaced with bookId). Both "hold" and "take" were replaced with "reserve".
Improved name of bean.
Actual implementation of mail service were replaced with stub.
Added exception for MailService.
Added constructor to BookServiceException and updated comments in BookService.