Fatal bug on second login solved