Added hook to simply login during development