Update the UserController to properly open and close the signin/signup panel.