added login and logout functions to PebsUser/ClipitUser