add redirect to salary create function