enable loginform after return