Alert helper added, used the same for sign up and sign in pages