#9 Fix warnings / Add decorator(login_required)
modify templates