# How to save user data separately

**URL:** <https://community.thunkable.com/t/how-to-save-user-data-separately/1307913>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [May 26, 2021, 3:20am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913 "2021-05-26T03:20:12Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 26, 2021, 3:20am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/1 "2021-05-26T03:20:12Z")

</div>

hi i make a sign in page and one another screen ,and i have applied a logic for user login and save their id and password ,  
so my question is that when i login through email and password so the first user id and password is saved in the firebase but when the another user login their account the previous user id and password overwrite with the next one  
pla help me to store user data separately in firebase

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 26, 2021, 3:49am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/2 "2021-05-26T03:49:13Z")

</div>

Show your blocks and firebase data structure?

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 26, 2021, 4:15am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/4 "2021-05-26T04:15:35Z")

</div>

Sorry i didn’t get your concern plz specify

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 26, 2021, 4:18am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/5 "2021-05-26T04:18:59Z")

</div>

When you post on the forums, it’s best to include a screenshot of your blocks and in this case also a screenshot of your firebase database “tree” (remove any confidential info).

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 27, 2021, 7:04am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/6 "2021-05-27T07:04:13Z")

</div>

Ya but it is processing topic you know entering data and updating on firebase so i can not capture any screen shot i will try to make a gif after making screen recording

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [May 27, 2021, 7:47am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/7 "2021-05-27T07:47:33Z")

</div>

Hi there,

You can save user data by using their unique `user ID` as a key to store data under.

You can find a detailed explanation in this video tutorial:

[![](https://img.youtube.com/vi/KvFvSkG6G-k/maxresdefault.jpg "Cloud Variables - Save User Data to the Cloud in Thunkable Drag and Drop UI") ](https://www.youtube.com/watch?v=KvFvSkG6G-k)

This is a drag and drop tutorial, but the snap to place Sign In block will also return a `user ID`, and the other blocks should work in the same way.

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 27, 2021, 8:30am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/8 "2021-05-27T08:30:11Z")

</div>

Thanks a lot jane it is very helpful for me thanks for your kind information

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 28, 2021, 4:20am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/9 "2021-05-28T04:20:09Z")

</div>

hi jane i implement your suggestion on my project all is well the name i asked for the user is correctly showing when a user sign in again.  
but my concern is that when i asked for user to upload their picture the firebase saves the user picture associated with user id but when a user login again back to application the user name is showing but the user picture is not sowing at the picture frame.

i am sharing my project link with you plz insert your api key as well as the database url of firebase to check and find the bug ,then send me the bugfreee project link .

my project link is [Thunkable](https://x.thunkable.com/projectPage/60b06d60a59d7600111bf9e9)

Thanku

---

<div class="post-metadata">

**Author:** ![jane](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jane/32/27575_2.png) [@jane](https://community.thunkable.com/u/jane)\
**Post date:** [May 28, 2021, 8:16am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/10 "2021-05-28T08:16:26Z")

</div>

Do you see the image URL in your Firebase DB?

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 28, 2021, 8:56am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/11 "2021-05-28T08:56:01Z")

</div>

Yes the link showing correctly

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 28, 2021, 2:45pm UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/12 "2021-05-28T14:45:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/8/d8043b128095bcb12b10a38611502177c289d74a.png)

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/8/386fd3abd52217e42428736d56f2db72790f40af.png)

uploading picture is not a issue , image fetching is a issue please help jane

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 29, 2021, 4:19am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/13 "2021-05-29T04:19:46Z")

</div>

Are you able to fetch other values such as the /name property? If not, what are your Firebase rules?

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 29, 2021, 6:28am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/15 "2021-05-29T06:28:50Z")

</div>

Ya name is showing as well but the image is not please help

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 29, 2021, 6:55am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/16 "2021-05-29T06:55:49Z")

</div>

What is the cloudinary url you have stored in Firebase?

What happens if you set a label’s text to the `/image` value? Does it show the same url that’s in Firebase?

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 29, 2021, 7:19am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/17 "2021-05-29T07:19:05Z")

</div>

the link for image is uploaded in my firebase db is [https://res.cloudinary.com/thunkablecloudinary123/image/upload/v1622213649/jbj2hovhpafx0osbozqy.jpg](https://res.cloudinary.com/thunkablecloudinary123/image/upload/v1622213649/jbj2hovhpafx0osbozqy.jpg)

and if i set the lable’s text ti /image the text lable showing the same url just like my firebase db

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/e/be4c07139aedb85a1fef180eb4d0173b8887a08a.png)

---

<div class="post-metadata">

**Author:** ![catsarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/catsarisky/32/100661_2.png) [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Post date:** [May 29, 2021, 10:13am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/18 "2021-05-29T10:13:38Z")

</div>

So maybe it’s a problem with the image settings.

Can you please try the following?  
Instead of getting the image url from firebase, put it in a red text box and set the image url that way. Does it show up that way? If it doesn’t, check your image settings carefully.

---

<div class="post-metadata">

**Author:** ![chakshu1221](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chakshu1221/32/106583_2.png) [@chakshu1221](https://community.thunkable.com/u/chakshu1221)\
**Post date:** [May 29, 2021, 10:35am UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/19 "2021-05-29T10:35:21Z")

</div>

sure !  
let me check .

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/how-to-save-user-data-separately/1307913/20 "2024-11-08T13:22:16Z")

</div>


