prepare authentication and user-management