Added logging config and some user management features