complete logging in to admin panel