added sign in check