public static void logout() { Session.current().clear(); Public.index(); }
@Before static void checkAuthentification() { if (session.get("user") == null) Public.login(null, null); }