Password field improvements. Database conenctions.