populate all info in session (source, api_key etc) during login
publish or save draft function