add session part for login in

trying to add newNotebook , but something wrong in the bind function, I
think…