delete useless users controller method, add helper for login path and fix link issue