Using url_for on object creation
Added POST methods