creating auth module