open a session function
add a button for logout
add a script file for logout
add if condition for