a lot of martini, deleting some code
more code removed
more api rewrites, login shorter