What does not work, what is the error, i need some info to help. Now you keeping in the dark a bit.
Have set authentification correctly in config.inc.php?
What kind of login do you use? (config/cookie/http)
Have you set your database username/passwd correct?