# Trying to create a login page (unsuccessfully)

**URL:** <https://community.thunkable.com/t/trying-to-create-a-login-page-unsuccessfully/2217918>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [January 12, 2023, 12:40am UTC](https://community.thunkable.com/t/trying-to-create-a-login-page-unsuccessfully/2217918 "2023-01-12T00:40:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bombsko0016dxq19](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bombsko0016dxq19](https://community.thunkable.com/u/bombsko0016dxq19)\
**Post date:** [January 12, 2023, 12:40am UTC](https://community.thunkable.com/t/trying-to-create-a-login-page-unsuccessfully/2217918/1 "2023-01-12T00:40:09Z")

</div>

I am creating a clicker game for a school project. For saving data such as the players total currency or their upgrades, I figured that I would use google spreadsheets so players would just have a simple page where they login to their existing username (with no password, just the username) and continue where they left off or they create a new account. I’ve got the sign up working where it makes a new user, the problem I’m having is I don’t know how to create the login stuff (ex. checking spreadsheet for inputted username and then loading up that players game with all of their previous stuff. also, I would appreciate it if someone helped me figure out an autosave type system that would save the users stuff to the spreadsheet every 10ish seconds. thanks for your time.  
p.s. if you have any tips regarding other issues/problems or just general improvements, please let me know

Link to app: [Thunkable](https://x.thunkable.com/copy/0d064d5a3ced71380be04bb78a92a6fc)

---

<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:** [January 12, 2023, 5:11am UTC](https://community.thunkable.com/t/trying-to-create-a-login-page-unsuccessfully/2217918/2 "2023-01-12T05:11:22Z")

</div>

When the user signs in, you would need to search the data source to see if that username exists. If you don’t have passwords then someone else can use the same username as anyone else. If the username exists _Update_ the data in that row (or just get values from it as needed). If the username does not exist, _Create [a] row_ and add the user’s data to it.

By the way, it’s best to avoid putting blocks that need special timing outside of the “then do” section. In this set of blocks, the second `navigate` block will probably fire before the `create row` block completes. I would delete the second `navigate` block.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/3/03772cda133cfd72c09f0bd024ec4b371c2ac0cc.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 12, 2023, 5:11am UTC](https://community.thunkable.com/t/trying-to-create-a-login-page-unsuccessfully/2217918/3 "2023-04-12T05:11:43Z")

</div>

Closed on April 12, 2023, 5:11am UTC

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