You need to use command "sh caller ip" OR "sh users" to see the "current" users logged in for how long and what ip address they got. Now in oder to log the history, you need the AAA server. AAA server has accounting feature which will allow you to see that. Ofcourse you need to set 2509 to work with AAA server. Hopw this helps..Thx..Tejal