Changed app id and secret to be optional in users client