added login functionality on Blog page - incomplete