added debug code, forgotten password kinda works