There should be a .bash_history file in each user's /home directory (well, assuming you are using Bash anyway) which will contain a log of the last 100 or so commands run.
To see who is currently logged into the machine, you can simply use the command "who". To see users logged in previously, use "last".
|