hide registration button after registration fix #3