prototype output and true login authentication against database