added logic for hiding sign up button