Getting the client properly from settings