changed the login name for the datbase and added a parts method