Added login to database user mapping

Now remaining : testing !!!