Added a method for getting a byte to Config

Also changed loginType to a byte