login and logout extends AbstractHATEOASRestfulController