added and took away things

force closes when pressing submit in register