added current date, last login and visit number functionality.