testing servlets: LoginController, BankController,
LogoutController, RegistrationController and refactor code