Migrate $User, $Profile, $Label and $Api to Lightning Components

We can’t use $User in Lightning. We need to implement a server-side solution.