Fixed some bugs

added loading icons, fixed register