# Login and Registration

The initial launch of our app will put users in the login page. From here they can register an account with our application.

{% tabs %}
{% tab title="Login" %}
![](/files/-MenGCucBy5xRGA0XmqB)
{% endtab %}

{% tab title="Registration" %}
![](/files/-MenGCudoDJ16o2kTWUM)
{% endtab %}
{% endtabs %}

For registration, we require:\
1\) Valid email address\
2\) Username - the name of your avatar\
3\) Password - at least 8 characters\
4\) Height & Weight - weight is required to calculate calories burned\
5\) Gender - determines your avatar’s gender\
6\) Avatar’s job - choose between a Warrior, Mage or Archer

We are unable to use username to log in as Firebase does not have the option to use that as authentication. Therefore, we settled for account authentication via email address.


---

# 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://run-mania.gitbook.io/run-mania/features/login-and-registration.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.
