1) finished edit profile with delete profile
added login added api.ejs added middleware for authorization check