user.setPasword(request.getParameter("password"));
user.setLogedIn(false);
try {
DummyDatabase db = new DummyDatabase();
db.addAccount(generateId(), user);
db.save();
} catch (Exception ex) {
ex.printStackTrace();
}
redirectingAddress = "login.jsp";
}