improve transition when cancelling login in loginviewcontroller