Used url name instead of function in reverse