Use $username to create homedir, not $title

Recreating from #5, this time on develop. Also squashed the changes.