pushing file name to database and profile login implemented