Have you tried removing the dialog, and related code, that asks for login name and password? Isolate the problem rather than try to debug with a bunch of stuff mixed together. As an aside, you might start with a plain SDI application that is hooked to the Account_Details table. Once you get that displaying properly, migrate the login stuff back in.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne