Login Redirection Link (1 samtals einkunnagjafir) Redirects users to the previous url after login ( and logout ) by adding a…