What is the purpose of this methods? I don't see any routes and views that handles these actions?

Can you explain the reason why you added them? Thanks