Moved majority of cms login authentication to new authentication model

Also updated models so the system log is part of the parent constructor