Module for logging in/out and doing basic configuration