# Can't log in, stays on the login screen

#### **Possible problem #1**

On the login screen, you get this warning

`FIREBASE WARNING: Firebase error. Please ensure that you spelled the name of your Firebase correctly`

![](/files/-MU8HQcgMpEmRKISB4VL)

#### **Cause #1**

Firebase recently changed the structure for the domain for new databases. Thus, changing the previous location of the database from&#x20;

<https://project\\_id.firebaseio.com> to <https://project\\_i&#x64;**-default-rtdb**.firebaseio.com> and that is why, the login works, but the use of the real-time database returns not found.&#x20;

#### Solution #1

We have released fixed code on CodeCanyon, and also published the changes on our GitLab Repository.&#x20;

The only changes are in the file Builder/src/config/firebase\_config.js

In the environment preferences in Netlify you need to add

`REACT_APP_databasePrefix`**`-default-rtd`**

**Possible** **Problem #2**

After you have entered your email/pass, you are not redirected to the admin backend.In the [console](https://mobidonia.support-hub.io/articles/how-to-open-the-developer-console), you receive this if you try to register a new user.

![](https://support-hub--assets.s3.eu-west-2.amazonaws.com/assets/74/images/ktMq6nIZCKrbDStTQ1ThkOl1U1MPh3R7TB68wy1T.png)

**Cause #2**

Your Firebase Database permissions are not correctly set up.

**Solution #2**

Change your Real-time Database rules

Suggested permissions are described in step **Create a real-time database**

![](https://support-hub--assets.s3.eu-west-2.amazonaws.com/assets/74/images/OEYxI2Bc5CMvFCqouiETskOcMbexWxkyMfBkLFiA.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mobidonia.gitbook.io/react-app-builder/common-problems/cant-login-stays-on-login-screen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
