Login and Register fixed