     link_limit = if total_links>5, do: 3, else: total_links
     address_limit = if total_addresses>5, do: 3, else: total_addresses
     user_skill_limit = if total_user_skills>5, do: 4, else: total_user_skills
-    user = 
+    user =
       conn.assigns[:user]
       |> Repo.preload([
         :social_media_accounts,

        user_skills: from(u in Vutuv.UserSkill, left_join: e in assoc(u, :endorsements), left_join: s in assoc(u, :skill),
          order_by: s.name, group_by: u.id, limit: ^user_skill_limit, # order_by: fragment("count(?) DESC", e.id) orders by endorsements
          preload: [:endorsements]),
        followee_connections: {Connection.latest_with_avatars(3), [:followee]},
        follower_connections: {Connection.latest_with_avatars(3), [:follower]},
        phone_numbers: from(u in Vutuv.PhoneNumber, order_by: [desc: u.updated_at], limit: ^number_limit),
        urls: from(u in Vutuv.Url, order_by: [desc: u.updated_at], limit: ^link_limit),
        addresses: from(u in Vutuv.Address, order_by: [desc: u.updated_at], limit: ^address_limit),

  end

  def edit(conn, _params) do
    user =
      conn.assigns[:user]
      |> Repo.preload([:emails, :slugs, :oauth_providers])
    changeset = User.changeset(user)
