Started workign on register and login