Changed app to a session