Add model utils

session_id_to_client
login