candidate_name was there in req object not session, so changed it
correct code for Nominee/Candidate login
code for action=candidate_home to display election and nominee status on home page