make user login before liking photo