created db login classes to increase security and ease of connection