# 2 user types - 2 logins. How to do this?

**URL:** <https://forum.bubble.io/t/2-user-types-2-logins-how-to-do-this/28906>\
**Category:** Need help\
**Created:** [May 7, 2018, 9:32am UTC](https://forum.bubble.io/t/2-user-types-2-logins-how-to-do-this/28906 "2018-05-07T09:32:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freddc83](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@freddc83](https://forum.bubble.io/u/freddc83)\
**Post date:** [May 7, 2018, 9:32am UTC](https://forum.bubble.io/t/2-user-types-2-logins-how-to-do-this/28906/1 "2018-05-07T09:32:06Z")

</div>

Hello everybody,

I am building an app in which there are 2 types of users:  
1/ Employer  
2/ Employee

I want them both to login (and stored in db) as either “employee-user” OR “employer-user”

AND THEN they each have to be redirected to a different page

- When the user is an employee --\> to the employee page/ dashboard
- When the user is an employer --\> to the employer page/ dashboard

Can anybody please help me on how to do this the most easy efficient way in data(types/fields) and workflow?

Any help/insight is very much appreciated…  
Thanks so much in advance !!

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [May 7, 2018, 9:52am UTC](https://forum.bubble.io/t/2-user-types-2-logins-how-to-do-this/28906/2 "2018-05-07T09:52:06Z")

</div>

I’d create a field on the user called “is Employee” and “is Employer.” These would be yes/no fields, so you can have any combination of truth there. Then, you redirect them based on whether or not these fields are Yes.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [July 16, 2018, 9:32am UTC](https://forum.bubble.io/t/2-user-types-2-logins-how-to-do-this/28906/3 "2018-07-16T09:32:07Z")

</div>

Closed on July 16, 2018, 9:32am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
