Adding conditional statements when it comes to logging in and out in Postad/List