Fixed sign in bug