implement login and logout feature on theme pack page