use ejs template, fix friends list
remove unused views
photo upload working