Partial code refactoring
Create private method SetPassword
Create private method GetConnection
Using new methods in Get method