worked on registration gui