replaced old crypt class with a new one.
design changes on user login and logout.

Signed-off-by: Sebastian Brosch <sebastian.brosch@brosch-software.de>