fixed errors with registration, added some design