User Management in InMemory and JDBC by using filters for authentication and servlets for login and logout.