Add ability to log in and integrate model with framework.