cleaning code
correcting user email
optimze import
correcting session instance for integration test
correcting session instance for integration test