Fix story parsing + fix wrong type in login