Gofmt'd and handled case of no service given to login