Custom user management

Added custom basic authenticator middleware