Fixed errors in RegisterActivity/UserCollection