removed login check on register