Note that ShareLaTeX is entirely free software (under AGPL) and self-hostable. Overleaf is not.
Furthermore, Overleaf has a history of occasionally losing people's data. That's bad for college and university folks.
Re:Begin LaTeX in minutes
by jdleesmiller on Monday October 31, 2016 @06:23AM
(#12835558)
(Overleaf co-founder here.) As far as I know, we've never lost any user data. We take that very seriously. If you believe you have lost data on Overleaf, please contact our support team via www.overleaf.com/contact and we'll investigate.
[1]: https://www.overleaf.com