added save check + worked on registration form