Fixed server dying on login success