implemented session and session scope models