Adding a button to drawer navigator?

Hello! So the issue here is I want to move my sign out button to the drawer navigator instead of the homescreen. I searched other community posts and it seems like it’s possible (eg. OneTick’s very advanced drawer navigator) but it seems like there are no instructions as to how exactly code a button there. Help would be very much appreciated for this beginner here!

Here’s the code for the sign out button if it’s any help, it was taken from the Thunkable tutorial