Added a radom pic function and, now shows a random picture on the index page when the user is logged in.