add deploy script
support passing environment binding on rendering
show the status after submitting.
login: correctly redirect to edit URL if alreadyn logged in