Adding login and registration links to reset password

Fixes #533.