extracted current_client into its own method

It sometimes helps to know the current device for example when you want to register a push notification you can grab their current client easily.