Adds image to views/index/index and modifies views/dashboard/index trying to fetch user name from database.