updated the user methods for login.
added password recovery features.
updated header to hide the register link if the user is logged-in.