# Issues when adding new users from the app

**URL:** <https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914>\
**Category:** Get Help\
**Created:** [December 15, 2021, 5:15pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914 "2021-12-15T17:15:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![IsaacRivera](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@IsaacRivera](https://forum.adalo.com/u/IsaacRivera)\
**Post date:** [December 15, 2021, 5:15pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/1 "2021-12-15T17:15:47Z")

</div>

I came across to an issue today… I’m building an app where the owner can add other users.

I have selected the form component and linked to the users collection (where all users are), up until this point everything works find, however, when I click “Add” the action add the user to the collection however, it also change the current user by the one that was added, e.g:

User1 → adds → User2, after adding User2 remains login instead of User1.

I realize there might be an issue the “What do you want this form to do?” is there any way to add the user without affecting the logged in user.

 ![Screen Shot 2021-12-15 at 11.14.16](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/9b5ce85ec8f6a379a4566d3e6380eb9d11a57d01.png)

---

<div class="post-metadata">

**Author:** ![ricklennie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ricklennie/32/10077_2.png) [@ricklennie](https://forum.adalo.com/u/ricklennie)\
**Post date:** [December 15, 2021, 5:39pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/2 "2021-12-15T17:39:00Z")

</div>

> [@IsaacRivera](#):
>
> I came across to an issue today… I’m building an app where the owner can add other users.
> 
> I have selected the form component and linked to the users collection (where all users are), up until this point everything works find, however, when I click “Add” the action add the user to the collection however, it also change the current user by the one that was added, e.g:
> 
> User1 → adds → User2, after adding User2 remains login instead of User1.
> 
> I realize there might be an issue the “What do you want this form to do?” is there any way to add the user without affecting the logged in user.

Why don’t you try adding a collection of users?

Regards,

> **[Team Up with Adalo Expert Rick Lennie](https://www.adalo.com/experts/rick-lennie)**
>
> I love creating digital services and products without code. I dance salsa.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [December 15, 2021, 5:51pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/3 "2021-12-15T17:51:09Z")

</div>

Hi @IsaacRivera 👋

If I’m correct it’s because the form is doing Signup in the user. And the logged in user gets that details. So you can create a Custom Form and add a button and add a create user action.

Like this.

Hope it helps!

Thank you

---

<div class="post-metadata">

**Author:** ![IsaacRivera](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@IsaacRivera](https://forum.adalo.com/u/IsaacRivera)\
**Post date:** [December 15, 2021, 5:53pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/4 "2021-12-15T17:53:22Z")

</div>

> [@ricklennie](#):
>
> Why don’t you try adding a collection of users?

I thought on that, however seems to be redundant since I will have the same information in both (only the password wont be included) and that means that I have to keep 2 collections updated whenever an action happened.

I guess that might be the work around

---

<div class="post-metadata">

**Author:** ![IsaacRivera](https://avatars.discourse-cdn.com/v4/letter/i/0ea827/32.png) [@IsaacRivera](https://forum.adalo.com/u/IsaacRivera)\
**Post date:** [December 15, 2021, 5:58pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/5 "2021-12-15T17:58:47Z")

</div>

> [@Dilon](#):
>
> If I’m correct it’s because the form is doing Signup in the user. And the logged in user gets that details. So you can create a Custom Form and add a button and add a create user action.

Yeap… That what I was looking for… thanks a lot…

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [December 15, 2021, 5:59pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/6 "2021-12-15T17:59:24Z")

</div>

Great and Your Welcome 👍

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [December 25, 2021, 5:59pm UTC](https://forum.adalo.com/t/issues-when-adding-new-users-from-the-app/20914/7 "2021-12-25T17:59:31Z")

</div>

Closed on December 25, 2021, 5:59pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
