Question: Happily was co-written by the One Direction band member who got is debut as a singer for what band?

Context articles: Liam Payne
Louis Tomlinson
Happily (song)
Harry Styles
Up All Night (One Direction album)
Mike Needle
One Direction: Where We Are – The Concert Film
Take Me Home (One Direction album)
Only One Direction
Midnight Memories

Liam James Payne (born 29 August 1993) is an English singer and songwriter.
 He rose to fame as a member of the boy band One Direction.
 Payne made his debut as a singer when he auditioned for the British television series "The X Factor" in 2008.
 After being eliminated as a solo performer, he auditioned again in 2010 and was put into a group with four other contestants to form One Direction.
 One Direction has released five commercially successful albums, performed on four worldwide tours, and won multiple awards.
Louis William Tomlinson (born Louis Troy Austin; 24 December 1991) is an English singer and songwriter.
 He is known as a member of the boy band One Direction.
 Tomlinson began his career as an actor, appearing in ITV drama film "If I Had You" and the BBC drama "Waterloo Road".
 In 2010, he became a member of One Direction after being eliminated as a solo artist on the British music competition series "The X Factor".
 Tomlinson is one of the main songwriters of One Direction's repertoire.
 Following the band's hiatus, Tomlinson released the singles "Just Hold On" and "Back to You".
 The latter will be included in his debut studio album, which will be released in 2017 by Epic Records.
"Happily" is a song by English-Irish boy band One Direction from their third studio album, "Midnight Memories" (2013).
 It was co-written by band member Harry Styles.
Harry Edward Styles (born 1 February 1994) is an English singer, songwriter, and actor.
 He made his debut as a singer with his band White Eskimo, who performed locally in Holmes Chapel, Cheshire.
 Styles rose to stardom as a member of the boy band One Direction, formed in 2010 through the British music competition series "The X Factor".
 One Direction has released five albums, performed four worldwide tours, and won several awards.
Up All Night is the debut studio album by English-Irish group One Direction, released by Syco Records in November 2011 in Ireland and the United Kingdom, followed by a worldwide release during 2012.
 Four months after finishing third in the seventh series of British reality singing contest "The X Factor" in December 2010, One Direction began recording the album in Sweden, UK and the United States, working with a variety of writers and producers.
 The album is predominantly a pop music album which orientates into pop rock, dance-pop, teen pop and power pop.
 The album's lyrical content regards being young, relationships, heartbreak and empowerment.
 Staged in support of the album, One Direction performed the album's songs live on televised shows, at awards ceremonies, and during their worldwide Up All Night Tour.
Needle’s songwriting debut 'What A Feeling' from One Direction’s album 'Made in the A.M.' was co-written with Jamie Scott, Dan Bryer and 1D band members Louis Tomlinson and Liam Payne.
 This track topped Rolling Stone's 'Readers' Poll' as the best track One Direction have ever released.
 He has recently worked with Niall Horan co-writing Horan’s debut solo single ‘This Town’.
One Direction: Where We Are – The Concert Film, also known as One Direction: Where We Are - Live from San Siro Stadium is the second concert film by English-Irish boy band One Direction and the sequel to "".
 The film takes place during the 28 and 29 June 2014 shows of the band's Where We Are Tour at San Siro Stadium in Milan, Italy.
 It contains a 15-minute interview with the band with exclusive behind-the-scenes footage.
Take Me Home is the second studio album by British-Irish group One Direction, released on 9 November 2012 by Syco Music and Columbia Records.
 As a follow-up to One Direction's internationally successful debut album "Up All Night" (2011), "Take Me Home" was written in groups and has an average of just under five songwriters per track.
 Largely recorded and composed in Sweden during 2012, Savan Kotecha, Rami Yacoub and Carl Falk, who composed One Direction's hits, "What Makes You Beautiful" and "One Thing", spent six months in Stockholm developing songs for the album, and were able to shape melodies around the members' tones.
Only One Direction is an international production and theatre show about English-Irish boyband One Direction.
 The band has performed to hundreds of thousands worldwide.
 In October 2015, Only One Direction - The One Direction Story opened in London's West End.
" Midnight Memories" is the third studio album by British-Irish boy band One Direction, released on 25 November 2013 by Columbia Records, Syco Music and Sony Music.
 The album was described as having a "slightly rockier tone" than their previous efforts.
 It has become the fastest-selling album in Amazon UK's history, breaking the record set by One Direction's previous release, "Take Me Home" (2012).
 The album debuted at number one on the US "Billboard" 200, making One Direction the first group in history to debut at number one in the US with their first three albums.
 The album was preceded by the release of the singles "Best Song Ever" and "Story of My Life".