Fixed indentation
Removed dead code
Promisified postUser to enforce order
Removed duplicate getDetails call
Merge pull request #43 from zzmp/profilePromisify

Enforce order in profile.js