Started implementing authentication. login_required() doesn't work by some reason. Needs further investigation