added conditional link so that users can register a new app if they're logged in.