Misc tweeks, and added base process logic.
Updating generic process logic.
Cleans up session setting and account logic.