adding login hook to the template.
Adding URL for the current github location, since the 1.0.0 is broken
more comments
minor doc fix