# Create custom scheme for Users

**URL:** <https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386>\
**Category:** Users & Roles\
**Created:** [March 20, 2016, 8:35pm UTC](https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386 "2016-03-20T20:35:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hedisam](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@hedisam](https://community.dreamfactory.com/u/hedisam)\
**Post date:** [March 20, 2016, 8:35pm UTC](https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386/1 "2016-03-20T20:35:01Z")

</div>

Hi,

I need to create custom scheme for Users so that users can have profile photo. Also I wanna change the identify key from email to some custom username field that would be unique.

Thanks for caring.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [March 23, 2016, 5:40pm UTC](https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386/2 "2016-03-23T17:40:15Z")

</div>

The current way of extending the user schema is to use the user/custom api object (see API Docs for details.) In your example I would store a path to the file storage API in user/custom, and upload the file to the files storage.

There is no built in way to have usernames instead of email addresses. You would need to edit the DreamFactory user module yourself to accommodate this.

---

<div class="post-metadata">

**Author:** ![manu](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/manu/32/277_2.png) [@manu](https://community.dreamfactory.com/u/manu)\
**Post date:** [March 28, 2016, 6:59pm UTC](https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386/3 "2016-03-28T18:59:20Z")

</div>

Hi Drew,  
is there a tutorial explaining how to use the user module to have usernames instead of email addresses?

Thansk

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [March 28, 2016, 7:01pm UTC](https://community.dreamfactory.com/t/create-custom-scheme-for-users/2386/4 "2016-03-28T19:01:06Z")

</div>

No, there is no tutorial, since this is not supported functionality.  
I’m sure it’s possible though, if you’re willing to go through the trouble editing the user module. I just don’t have any specific instructions or clues on how to do so.
