Rebase functionality

a GET method doing an action is pretty wrong