Add functionality for the signin and login button