added a crude login authentication
added a crude login procedure