Added configurable key to return the apikey after login