Fixes error with sign in