added checkyear function and enter bday ifelse check