wont redirect after registration -_-, needs fixing