reconfigures login functionality, no longer 'works' but framework is in place