Some manual rails based user registration code