authentication working. fixed hibernate-problem. other fixes.