Add authorization and signin functionality.